package com.topsoft.email.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.mvc.core.service.BaseServiceImpl;
import com.topsoft.email.dao.IUserInfoDao;
import com.topsoft.email.model.UserInfo;
import com.topsoft.email.service.IUserInfoService;


@Component("userInfoService")
public class UserInfoServiceImpl extends BaseServiceImpl<UserInfo, String> implements IUserInfoService{


	private IUserInfoDao userInfoDao;
	
	@Resource
	public void setBaseService(IUserInfoDao userInfoDao) {
		this.userInfoDao = userInfoDao;
		this.baseDAO = userInfoDao;
	}

	@Override
	public UserInfo getDatathread() {
		// TODO Auto-generated method stub
		return userInfoDao.getDataThread();
	}

}
